Optimal. Leaf size=901 \[ -\frac {3 i a c^2 \sqrt {a^2 x^2+1} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt {a^2 c x^2+c}}+\frac {1}{2} a^2 c x \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^3-\frac {c \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^3}{x}-\frac {6 a c^2 \sqrt {a^2 x^2+1} \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt {a^2 c x^2+c}}+\frac {9 i a c^2 \sqrt {a^2 x^2+1} \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{2 \sqrt {a^2 c x^2+c}}-\frac {9 i a c^2 \sqrt {a^2 x^2+1} \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{2 \sqrt {a^2 c x^2+c}}-\frac {3}{2} a c \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^2-\frac {6 i a c^2 \sqrt {a^2 x^2+1} \tan ^{-1}\left (\frac {\sqrt {i a x+1}}{\sqrt {1-i a x}}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}+\frac {6 i a c^2 \sqrt {a^2 x^2+1} \text {Li}_2\left (-e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}-\frac {6 i a c^2 \sqrt {a^2 x^2+1} \text {Li}_2\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}-\frac {9 a c^2 \sqrt {a^2 x^2+1} \text {Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}+\frac {9 a c^2 \sqrt {a^2 x^2+1} \text {Li}_3\left (i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}+\frac {3 i a c^2 \sqrt {a^2 x^2+1} \text {Li}_2\left (-\frac {i \sqrt {i a x+1}}{\sqrt {1-i a x}}\right )}{\sqrt {a^2 c x^2+c}}-\frac {3 i a c^2 \sqrt {a^2 x^2+1} \text {Li}_2\left (\frac {i \sqrt {i a x+1}}{\sqrt {1-i a x}}\right )}{\sqrt {a^2 c x^2+c}}-\frac {6 a c^2 \sqrt {a^2 x^2+1} \text {Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {a^2 c x^2+c}}+\frac {6 a c^2 \sqrt {a^2 x^2+1} \text {Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {a^2 c x^2+c}}-\frac {9 i a c^2 \sqrt {a^2 x^2+1} \text {Li}_4\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {a^2 c x^2+c}}+\frac {9 i a c^2 \sqrt {a^2 x^2+1} \text {Li}_4\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {a^2 c x^2+c}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 1.24, antiderivative size = 901, normalized size of antiderivative = 1.00, number of steps used = 37, number of rules used = 14, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.583, Rules used = {4950, 4944, 4958, 4956, 4183, 2531, 2282, 6589, 4890, 4888, 4181, 6609, 4880, 4886} \[ -\frac {3 i a c^2 \sqrt {a^2 x^2+1} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt {a^2 c x^2+c}}+\frac {1}{2} a^2 c x \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^3-\frac {c \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^3}{x}-\frac {6 a c^2 \sqrt {a^2 x^2+1} \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{\sqrt {a^2 c x^2+c}}+\frac {9 i a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (2,-i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{2 \sqrt {a^2 c x^2+c}}-\frac {9 i a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (2,i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^2}{2 \sqrt {a^2 c x^2+c}}-\frac {3}{2} a c \sqrt {a^2 c x^2+c} \tan ^{-1}(a x)^2-\frac {6 i a c^2 \sqrt {a^2 x^2+1} \tan ^{-1}\left (\frac {\sqrt {i a x+1}}{\sqrt {1-i a x}}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}+\frac {6 i a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (2,-e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}-\frac {6 i a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (2,e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}-\frac {9 a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (3,-i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}+\frac {9 a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (3,i e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)}{\sqrt {a^2 c x^2+c}}+\frac {3 i a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (2,-\frac {i \sqrt {i a x+1}}{\sqrt {1-i a x}}\right )}{\sqrt {a^2 c x^2+c}}-\frac {3 i a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (2,\frac {i \sqrt {i a x+1}}{\sqrt {1-i a x}}\right )}{\sqrt {a^2 c x^2+c}}-\frac {6 a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (3,-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {a^2 c x^2+c}}+\frac {6 a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (3,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {a^2 c x^2+c}}-\frac {9 i a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (4,-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {a^2 c x^2+c}}+\frac {9 i a c^2 \sqrt {a^2 x^2+1} \text {PolyLog}\left (4,i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {a^2 c x^2+c}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 2531
Rule 4181
Rule 4183
Rule 4880
Rule 4886
Rule 4888
Rule 4890
Rule 4944
Rule 4950
Rule 4956
Rule 4958
Rule 6589
Rule 6609
Rubi steps
\begin {align*} \int \frac {\left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^3}{x^2} \, dx &=c \int \frac {\sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x^2} \, dx+\left (a^2 c\right ) \int \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3 \, dx\\ &=-\frac {3}{2} a c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2+\frac {1}{2} a^2 c x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+c^2 \int \frac {\tan ^{-1}(a x)^3}{x^2 \sqrt {c+a^2 c x^2}} \, dx+\frac {1}{2} \left (a^2 c^2\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}} \, dx+\left (a^2 c^2\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}} \, dx+\left (3 a^2 c^2\right ) \int \frac {\tan ^{-1}(a x)}{\sqrt {c+a^2 c x^2}} \, dx\\ &=-\frac {3}{2} a c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {1}{2} a^2 c x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3+\left (3 a c^2\right ) \int \frac {\tan ^{-1}(a x)^2}{x \sqrt {c+a^2 c x^2}} \, dx+\frac {\left (a^2 c^2 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {1+a^2 x^2}} \, dx}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (a^2 c^2 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)^3}{\sqrt {1+a^2 x^2}} \, dx}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 a^2 c^2 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)}{\sqrt {1+a^2 x^2}} \, dx}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {3}{2} a c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {1}{2} a^2 c x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}+\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^3 \sec (x) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^3 \sec (x) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^2 \sqrt {1+a^2 x^2}\right ) \int \frac {\tan ^{-1}(a x)^2}{x \sqrt {1+a^2 x^2}} \, dx}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {3}{2} a c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {1}{2} a^2 c x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}}-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}+\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (3 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1+i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{2 \sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \csc (x) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (3 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x^2 \log \left (1+i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {3}{2} a c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {1}{2} a^2 c x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}}-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {9 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {9 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt {c+a^2 c x^2}}+\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (3 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \text {Li}_2\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \log \left (1-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int x \log \left (1+e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {3}{2} a c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {1}{2} a^2 c x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}}-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {9 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {9 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {9 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {9 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_2\left (-e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_2\left (e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (3 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (-i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \text {Li}_3\left (i e^{i x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {3}{2} a c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {1}{2} a^2 c x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}}-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {9 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {9 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {9 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {9 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (3 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(-i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (3 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(-i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 i a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_3(i x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {\left (6 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2(-x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {\left (6 a c^2 \sqrt {1+a^2 x^2}\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2(x)}{x} \, dx,x,e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}\\ &=-\frac {3}{2} a c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^2-\frac {c \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3}{x}+\frac {1}{2} a^2 c x \sqrt {c+a^2 c x^2} \tan ^{-1}(a x)^3-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}\left (e^{i \tan ^{-1}(a x)}\right ) \tan ^{-1}(a x)^3}{\sqrt {c+a^2 c x^2}}-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \tan ^{-1}\left (\frac {\sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \tanh ^{-1}\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {9 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (-i e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {9 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x)^2 \text {Li}_2\left (i e^{i \tan ^{-1}(a x)}\right )}{2 \sqrt {c+a^2 c x^2}}-\frac {6 i a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_2\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (-\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {3 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_2\left (\frac {i \sqrt {1+i a x}}{\sqrt {1-i a x}}\right )}{\sqrt {c+a^2 c x^2}}-\frac {6 a c^2 \sqrt {1+a^2 x^2} \text {Li}_3\left (-e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {9 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {9 a c^2 \sqrt {1+a^2 x^2} \tan ^{-1}(a x) \text {Li}_3\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {6 a c^2 \sqrt {1+a^2 x^2} \text {Li}_3\left (e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}-\frac {9 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_4\left (-i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}+\frac {9 i a c^2 \sqrt {1+a^2 x^2} \text {Li}_4\left (i e^{i \tan ^{-1}(a x)}\right )}{\sqrt {c+a^2 c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 7.07, size = 1387, normalized size = 1.54 \[ \text {result too large to display} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.73, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (a^{2} c x^{2} + c\right )}^{\frac {3}{2}} \arctan \left (a x\right )^{3}}{x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 1.27, size = 602, normalized size = 0.67 \[ \frac {c \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \arctan \left (a x \right )^{2} \left (\arctan \left (a x \right ) a^{2} x^{2}-3 a x -2 \arctan \left (a x \right )\right )}{2 x}-\frac {3 i a c \sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \left (-6 i \arctan \left (a x \right ) \polylog \left (3, -\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )-i \arctan \left (a x \right )^{3} \ln \left (1+\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+2 i \arctan \left (a x \right ) \ln \left (1-\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+4 i \polylog \left (3, \frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-2 i \arctan \left (a x \right ) \ln \left (1+\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )-3 \arctan \left (a x \right )^{2} \polylog \left (2, -\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+6 i \arctan \left (a x \right ) \polylog \left (3, \frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+3 \arctan \left (a x \right )^{2} \polylog \left (2, \frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )-4 i \polylog \left (3, -\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )+i \arctan \left (a x \right )^{3} \ln \left (1-\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+4 \arctan \left (a x \right ) \polylog \left (2, \frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-2 i \arctan \left (a x \right )^{2} \ln \left (1+\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-4 \arctan \left (a x \right ) \polylog \left (2, -\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )+2 i \arctan \left (a x \right )^{2} \ln \left (1-\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-2 \polylog \left (2, -\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+6 \polylog \left (4, -\frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )+2 \polylog \left (2, \frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )-6 \polylog \left (4, \frac {i \left (i a x +1\right )}{\sqrt {a^{2} x^{2}+1}}\right )\right )}{2 \sqrt {a^{2} x^{2}+1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (a^{2} c x^{2} + c\right )}^{\frac {3}{2}} \arctan \left (a x\right )^{3}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\mathrm {atan}\left (a\,x\right )}^3\,{\left (c\,a^2\,x^2+c\right )}^{3/2}}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac {3}{2}} \operatorname {atan}^{3}{\left (a x \right )}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________